import http from '../index'

export const getAllJmxz = (data) => http({
    url: '/api/Jmxzs?' + data,
    method: 'get',
})

export const addJmxz = (data) => http({
    url: '/api/Jmxzs',
    method: 'post',
    data
})

export const deleteJmxz = (data) => http({
    url: '/api/Jmxzs/' + data,
    method: 'delete',
})

export const updateJmxz = (data) => http({
    url: '/api/Jmxzs/',
    method: 'put',
    data
})